package com.oa.service;

import java.util.List;

import com.oa.entity.Topic;

/**
 * 论坛主题服务类
 */
public interface TopicService {

	public boolean addTopic(Topic topic);
	
	public boolean updateTopic(Topic topic);
	
	public boolean deleteTopic(Topic topic);
	
	public List<Topic> selectAllTopic(String forumId);

	public Topic selectTopic(String topicId);

	public Topic selectTopicName(String postingTitle);
	
	public Topic selectLastTopic(String forumId);
	
}
